<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script>
        var a,b,c,p,s;
        a=prompt("请输入第一条边",0);
        b=prompt("请输入第二条边",0);
        c=prompt("请输入第三条边",0);

        a=parseInt(a);
        b=parseInt(b);
        c=parseInt(c);

        p=(a+b+c)/2;

        s=Math.sqrt(P*(p-a)*(p-b)*(p-c));

        document.write(s);
    </script>
</head>
<body>
    
</body>
</html>